#include <iostream>

#include "University_t.h"
#include "ESF_Faculty_t.h"
#include "FOH_Faculty_t.h"
#include "Student_t.h"

int main(int argc, char* argv[])
{
	static University_t& university = University_t::instance();

	Faculty_t* f1 = new ESF_Faculty_t("CS");
	Faculty_t* f2 = new ESF_Faculty_t("ENG");
	Faculty_t* f3 = new FOH_Faculty_t("PSY");
	Faculty_t* f4 = new FOH_Faculty_t("COM");

	university.addFaculty(f1);
	university.addFaculty(f2);
	university.addFaculty(f3);
	university.addFaculty(f4);

	Student_t* s1 = f1->makeStudent(); s1->setId(1); s1->setName("s1");
	Student_t* s2 = f1->makeStudent(); s2->setId(2); s2->setName("s2");
	Student_t* s3 = f2->makeStudent(); s3->setId(3); s3->setName("s3");
	Student_t* s4 = f3->makeStudent(); s4->setId(4); s4->setName("s4");
	Student_t* s5 = f4->makeStudent(); s5->setId(5); s5->setName("s5");

	university.notifyLectureCanceled();
	university.notifyPriceRaised();

	Faculty_t* f = university.findFaculty("A");
	f = university.findFaculty("CS");

	getchar();
	return 0;
}